package com.kehutong.api.service;


import org.coraframework.json.JSONObject;

/**
 * TODO
 * 门禁服务接口
 * @author zhouweipeng
 * @version 1.0
 * @date 2021/7/15 11:40
 */
public interface AccessControlService {
    /**
     * 门禁设备管理
     * @param jsonObject
     * @return
     * @throws Exception
     */
    public Object managerDoorInfo(JSONObject jsonObject)throws Exception;

    /**
     * 门禁设备时间组
     * @param jsonObject
     * @return
     * @throws Exception
     */
    public Object timeGroup(JSONObject jsonObject)throws Exception;

    /**
     * 通行授权
     * @param jsonObject
     * @return
     * @throws Exception
     */
    public Object grantRights(JSONObject jsonObject)throws Exception;

    /**
     * 通行授权二维码
     * @param jsonObject
     * @return
     * @throws Exception
     */
    public Object codeRights(JSONObject jsonObject)throws Exception;

    /**
     * 远程开门
     * @param jsonObject
     * @return
     * @throws Exception
     */
    public Object openDoor(JSONObject jsonObject)throws Exception;


    /**
     * 通行记录流水
     * @param jsonObject
     * @return
     * @throws Exception
     */
    public Object passSeq(JSONObject jsonObject)throws Exception;

    /**
     * 心跳回调地址设置
     * @param jsonObject
     * @return
     * @throws Exception
     */
    public Object setHeartBeat(JSONObject jsonObject)throws Exception;

    /**
     * 记录上报回调地址设置
     * @param jsonObject
     * @return
     * @throws Exception
     */
    public Object setRecordCallBack(JSONObject jsonObject)throws Exception;




}
